/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package vn.com.pps.web.bean.common;

import vn.com.pps.services.ICourseService;
import vn.com.pps.services.IPPSService;
import vn.com.pps.services.IPupilService;
import vn.com.pps.services.ITeacherService;
import vn.com.pps.web.servicelocator.IServiceLocator;

/**
 *
 * @author Dai
 */
public class ServiceLocatorBean implements IServiceLocator{
    

    private ITeacherService teacherService;
    private ICourseService courseService;
    private IPupilService pupilService;

   

    @Override
    public IPupilService getPupilService() {
        return pupilService;
    }

    @Override
    public ITeacherService getTeacherService() {
        return teacherService;
    }

    @Override
    public ICourseService getCourseService() {
        return courseService;
    }

    public void setTeacherService(ITeacherService teacherService) {
        this.teacherService = teacherService;
    }

    public void setCourseService(ICourseService courseService) {
        this.courseService = courseService;
    }

    public void setPupilService(IPupilService pupilService) {
        this.pupilService = pupilService;
    }
    
    
    
    
}
